package meta.info

import kotlinx.serialization.Serializable

@Serializable
class SmartSocket (override var id: String, override var name: String) : MetaInfo(), InfoState {

    var ip: String ?= null
    var port: Int ?= null
    var lifespan: Long ?= null

    override fun checkIp(): String {
        TODO("Not yet implemented")
    }

    override fun checkPort(): Int {
        TODO("Not yet implemented")
    }

    override fun checkLifespan(): Long {
        TODO("Not yet implemented")
    }
}

class SmartSocketFactory (mi : MetaInfo) : InfoMaster {
    override val metaInfo = mi
}